Optimal. Leaf size=59 \[ \frac{(a \sin (e+f x)+a)^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{d (\sin (e+f x)+1)}{c-d}\right )}{a f (m+1) (c-d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.102836, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.065, Rules used = {2833, 68} \[ \frac{(a \sin (e+f x)+a)^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{d (\sin (e+f x)+1)}{c-d}\right )}{a f (m+1) (c-d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2833
Rule 68
Rubi steps
\begin{align*} \int \frac{\cos (e+f x) (a+a \sin (e+f x))^m}{c+d \sin (e+f x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{(a+x)^m}{c+\frac{d x}{a}} \, dx,x,a \sin (e+f x)\right )}{a f}\\ &=\frac{\, _2F_1\left (1,1+m;2+m;-\frac{d (1+\sin (e+f x))}{c-d}\right ) (a+a \sin (e+f x))^{1+m}}{a (c-d) f (1+m)}\\ \end{align*}
Mathematica [A] time = 0.0970181, size = 59, normalized size = 1. \[ \frac{(a \sin (e+f x)+a)^{m+1} \, _2F_1\left (1,m+1;m+2;-\frac{d (\sin (e+f x)+1)}{c-d}\right )}{a f (m+1) (c-d)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 1.079, size = 0, normalized size = 0. \begin{align*} \int{\frac{\cos \left ( fx+e \right ) \left ( a+a\sin \left ( fx+e \right ) \right ) ^{m}}{c+d\sin \left ( fx+e \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sin \left (f x + e\right ) + a\right )}^{m} \cos \left (f x + e\right )}{d \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (a \sin \left (f x + e\right ) + a\right )}^{m} \cos \left (f x + e\right )}{d \sin \left (f x + e\right ) + c}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sin \left (f x + e\right ) + a\right )}^{m} \cos \left (f x + e\right )}{d \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]